import createdName from '../../../utils/createdName';
export default {
  name: createdName('Icon'),
  props: {
    size: {
      type: String | Number,
      default: '',
      note: '图标大小',
    }
  },
  render (h) {
    const _self = this;
    return h('span', {
      style: {
        'font-size': _self.size
      }
    }, [
      h('i', {
        style: {
          'font-size': _self.size
        }
      })
    ])
  }
}